#include <stdio.h>

int main()
{
	FILE *fp = fopen("1.txt","a+");
	if(!fp){
		perror("fopen");
		return -1;
	}

	//write a character
	fputc('Y',fp);
	fputc('M',fp);
	fputc('L',fp);

	fclose(fp);

	return 0;
}